<?php

namespace IDock\Insurance\DAJIA;

class DAJIAEnums
{

    public static $TCI = '0320';//交强险

    public static $VCI = '0356';//商业险

    /**
     * 使用性质
     * @var array $useNatureCode
     */
    public static $useNatureCode = [
        '01' => '02',//非运营
        '02' => '01',//运营
    ];

    /**
     * 能源类型
     * @var string[] $energyType1
     */
    public static $energyType1 = [
        '0' => 'E01',
        '1' => 'E02',
        '2' => 'E03',
        '3' => 'E04',
        '4' => 'E05',
        '9' => 'E00',
        '' => 'E00'
    ];

    /**
     * 能源类型
     * @var string[] $energyType
     */
    public static $energyType = [
        'E00' => '',//其他
        'E01' => '0',//燃油
        'E02' => '1',//纯电动
        'E03' => '2',//燃料电池
        'E04' => '3',//插电式混合动力
        'E05' => '4',//其他混合动力
    ];

    /**
     * 进口车标识
     * @var array $importFlag
     */
    public static $importFlag = [
        '0' => 'I0',
        'LO' => 'I1',
        'JV' => 'I2',
        'IP' => 'I3'
    ];

    /**
     * 关系人证件类型
     * @var array $certificateTypeCode
     */
    public static $certificateTypeCode = [
        '01' => '01',//身份证
        '02' => '99',
        '03' => '02',//护照
        '04' => '12',//外国人永久居留身份证
        '05' => '99',//驾驶证
        '50' => '10',//组织机构代码
        '51' => '11',//个体经营者营业执照
        '52' => '04',//社会统一信用码
        '99' => '99',//其他
    ];

    /**
     * 险种代码
     * @var array $coverageCode
     */
    public static $coverageCode = [
        'C02001' => '030006', //机动车损失保险
        'C02002' => '032601', //附加车身划痕损失险
        'C02003' => '030042', //附加修理期间费用补偿险
        'C02004' => '035606', //附加车轮单独损失险
        'C02005' => '035607', //附加发动机进水损坏除外特约
        'C02006' => '035601', //附加绝对免赔率特约条款(车损)
        'C02007' => '030021', //附加新增加设备损失险
        'C02008' => '030032', //附加车上货物责任险
        'C02009' => '', //附加保险人指定修理厂特约险

        'C03001' => '030018', //机动车第三者责任保险
        'C03002' => '033614', //附加法定节假日限额翻倍险
        'C03003' => '030015', //附加精神损害抚慰金责任险(三者)
        'C03004' => '035608', //附加医保外医疗费用责任险(三者)
        'C03005' => '035602', //附加绝对免赔率特约条款(三者)

        'C04001' => '030001', //机动车车上人员责任保险(司机)
        'C04002' => '035615', //附加精神损害抚慰金责任险(司机)
        'C04003' => '035613', //附加医保外医疗费用责任险(司机)'
        'C04004' => '035603', //附加绝对免赔率特约条款(司机)

        'C05001' => '030009', //机动车车上人员责任保险(乘客)
        'C05002' => '035616', //附加精神损害抚慰金责任险(乘客)
        'C05003' => '035614', //附加医保外医疗费用责任险(乘客)'
        'C05004' => '035604', //附加绝对免赔率特约条款(乘客)

        'C08001' => '035609', //道路救援服务特约条款
        'C08002' => '035610', //车辆安全检测特约条款
        'C08003' => '035611', //代为驾驶服务特约条款
        'C08004' => '035612', //代为送检服务特约条款

        //新能源商业险
        'C12001' =>  '035801',//新能源汽车损失保险
        'C12002' => '032601',//附加车身划痕损失险(新能源汽车)
        'C12003' => '030042',//附加修理期间费用补偿险(新能源汽车)
        'C12004' => '035606',//附加车轮单独损失险(新能源汽车)
        'C12006' => '035601',//附加绝对免赔率特约条款(车损)((新能源汽车))
        'C12007' => '030021',//附加新增加设备损失险(新能源汽车)
        'C12008' => '030032',//附加车上货物责任险(新能源汽车)

        'C13001' => '035802',//新能源汽车第三者责任保险
        'C13002' => '033614',//附加法定节假日限额翻倍险(新能源汽车)
        'C13003' => '030015',//附加精神损害抚慰金责任险(三者)(新能源汽车)
        'C13004' => '035608',//附加医保外医疗费用责任险(三者)(新能源汽车)
        'C13005' => '035602',//附加绝对免赔率特约条款(三者)(新能源汽车)

        'C14001' => '035804',//新能源汽车车上人员责任保险(司机)
        'C14002' => '035615',//附加精神损害抚慰金责任险(司机)(新能源汽车)
        'C14003' => '035613',//附加医保外医疗费用责任险(司机)(新能源汽车)
        'C14004' => '035603',//附加绝对免赔率特约条款(司机)(新能源汽车)

        'C15001' => '035803',//新能源汽车车上人员责任保险(乘客)
        'C15002' => '035616',//附加精神损害抚慰金责任险(乘客)(新能源汽车)
        'C15003' => '035614',//附加医保外医疗费用责任险(乘客)(新能源汽车)
        'C15004' => '035604',//附加绝对免赔率特约条款(乘客)(新能源汽车)

        'C16001' => '035805',//附加外部电网故障损失险
        'C16002' => '035806',//附加自用充电桩损失保险
        'C16003' => '035807',//附加自用充电桩责任保险
        'C16004' => '',
        'C16005' => '',

        'C18001' => '035810', //道路救援服务特约条款
        'C18002' => '035811', //车辆安全检测特约条款
        'C18003' => '035812', //代为驾驶服务特约条款
        'C18004' => '035813', //代为送检服务特约条款
    ];

    /**
     * 三者险限额档次
     * @var string[]
     */
    public static $threeCIndemLmtLvl = [
        '10000' => '306006001',
        '20000' => '306006002',
        '40000' => '306006003',
        '50000' => '306006004',
        '100000' => '306006005',
        '200000' => '306006006',
        '300000' => '306006007',
        '400000' => '306006008',
        '500000' => '306006009',
        '150000' => '306006010',
        '700000' => '306006011',
        '800000' => '306006012',
        '900000' => '306006013',
        '1000000' => '306006014',
        '1500000' => '306006016',
        '2000000' => '306006017',
        '3000000' => '306006018',
        '5000000' => '306006019',
        '2500000' => '306006020',
        '3500000' => '306006021',
        '4000000' => '306006022',
        '4500000' => '306006023',
        '6000000' => '306006024',
        '8000000' => '306006025',
        '10000000' => '306006026',
    ];

    /**
     * 号牌种类代码
     * @var array $licenseTypeCode
     */
    public static $licenseTypeCode = [
        '01' => '大型汽车',
        '02' => '小型汽车',
        '03' => '使馆汽车',
        '04' => '领馆汽车',
        '05' => '境外汽车',
        '06' => '外籍汽车',
        '07' => '两、三轮摩托车',
        '08' => '轻便摩托车',
        '09' => '使馆摩托车',
        '10' => '领馆摩托车',
        '11' => '境外摩托车',
        '12' => '外籍摩托车',
        '13' => '农用运输车',
        '14' => '拖拉机',
        '15' => '挂车',
        '16' => '教练汽车',
        '17' => '教练摩托车',
        '18' => '试验汽车',
        '19' => '试验摩托车',
        '20' => '临时入境汽车',
        '21' => '临时入境摩托车',
        '22' => '临时行驶车',
        '31' => '',
        '32' => '',
        '33' => '26',
        '36' => '',
        '37' => '',
        '51' => '大型新能源汽车',
        '52' => '小型新能源汽车',
        '99' => '',
    ];

    /**
     * 车损险绝对免赔额
     * @var string[] $deductionLimit
     */
    public static $deductionLimit = [
        '0' => '375001',
        '300' => '375002',
        '500' => '375003',
        '1000' => '375004',
        '2000' => '375005',
    ];

    /**
     * 车身划痕险限额
     * @var string[] $deductionLimit
     */
    public static $scratchLimit = [
        '2000' => 'N03001001',
        '5000' => 'N03001002',
        '10000' => 'N03001003',
        '20000' => 'N03001004',
    ];

    /**
     * 客户分类
     * @var string[] $relationTypeCode
     */
    public static $relationTypeCode = [
        'R1' => '1',
        'R2' => '2',
        'R3' => '3'
    ];

    /**
     * 缴税类型
     * @var string[] $taxTypeCode
     */
    public static $taxTypeCode =[
        'T01' => '3T5002',
        'T02' => '3T5005',
        'T03' => '3T5004',
        'T04' => '3T5003',
        'T05' => '3T5001',
        'T06' => '3T5006',
        'T07' => '',
        'T08' => '',
    ];

    /**
     * 减免税原因代码
     * @var array $taxReductionReasonCode
     */
    public static $taxReductionReasonCode = [
        'TRR1' => '3T2007', //具备减免税证明
        'TRR2' => '3T2001', //拖拉机
        'TRR3' => '3T2002', //军队、武警专用车
        'TRR4' => '3T2003', //警车
        'TRR5' => '3T2012', //外国使领馆、国际组织及其人员
        'TRR6' => '3T2006', //其他
        'TRR7' => '3T2008', //能源减免
    ];

    /**
     * 减免税方案代码
     * @var array $taxReductionCode
     */
    public static $taxReductionCode = [
        'E' => 'E', //'免税',
        'P' => 'P', //'比例减免',
        'A' => 'A', //'金额减免'
    ];

    public static $underStats = [
        'U1' => '核保通过',//underwriteSuccess
        'U2' => '退回修改',//underwriteFailure
        'U3' => '人工核保',//manualUnderwrite
        'U4' => '核保失败',//underwriteFailure
        'U5' => '已出保单',//acceptance
        'U6' => '拒保',//underwriteFailure
    ];


    /**
     * 上传文件类型
     * @var array $uploadFileType
     */
    public static $uploadFileType = [

    ];


    /**
     * 充电桩种类
     * @var string[] $chargePileKind
     */
    public static $chargingPileKind = [
        'PK1' => '1',
        'PK2' => '2',
        'PK9' => '9'
    ];

    /**
     * 充电桩安装地点类型
     * @var string[] $chargingPileAddressType
     */
    public static $chargingPileAddressType = [
        'PA1' => '1',
        'PA2' => '2'
    ];

    /**
     * 充电桩使用年限
     * @var array $chargingPileYearLimit
     */
    public static $chargingPileYearLimit = [
        'PY1' => '1',
        'PY2' => '2',
        'PY3' => '3'
    ];

    /**
     * 车辆种类
     * @var array
     */
    public static $carType = [
        '01' => '365001',//6座以下
        '02' => '365002',//6-10座
        '03' => '365003',//10-20座
        '04' => '365004',//20-36座
        '05' => '365005',//36座以上
        '06' => '365006',//2吨以下
        '07' => '365007',//2-5吨
        '08' => '365008',//5-10吨
        '09' => '365009',//10吨以上
    ];


    /**
     * 验车情况
     * @var string[] $carCheckCode
     */
    public static $carCheckCode = [
        'CS1' => '',
        'CS2' => '305005003',//免验
        'CS3' => '305005002',//已验
        'CS4' => ''
    ];

    /**
     * 免验原因
     * @var array $carCheckReasonKind
     */
    public static $carCheckReasonKind = [
        'CR1' => '383001',
        'CR2' => '383003',
        'CR3' => '383002',
        'CR4' => '383005',
        'CR5' => '383005',
        'CR6' => '383005',
        'CR7' => '383005',
        'CR7' => '383005',
        'CR8' => '383005',
        'CR9' => '383005',
        'CR10' => '383005',
    ];


}
